{{!import type='css' 'screen/widgets/wg-files.css'}}
{{!import type='css' 'screen/widgets/wg-calendar.css'}}
{{!import type='css' 'screen/widgets/wg-calendar.css'}}
{{!import type='css' 'screen/widgets/wg-archive.css'}}
{{!import type='css' 'screen/widgets/wg-members.css'}}
{{!import type='css' 'screen/widgets/wg-main.css'}}
{{!import type='css' 'screen/widgets/wg-text.css'}}
{{!import type='css' 'screen/widgets/wg-comments.css'}}
{{!import type='css' 'screen/widgets/wg-statistics.css'}}
{{!import type='css' 'screen/widgets/wg-selector.css'}}
{{!import type='css' 'screen/widgets/wg-popular.css'}}
{{!import type='css' 'screen/widgets/wg-selector-files.css'}}
{{!import type='css' 'screen/widgets/wg-tags.css'}}
{{!import type='css' 'screen/widgets/wg-gallery.css'}}
{{!import type='css' 'screen/widgets/wg-lastcommunities.css'}}
{{!import type='css' 'screen/widgets/wg-newcommunity.css'}}


/* дефолтный вид виджетов */

.widget {
	position: relative;
	margin-bottom: 40px; }

.widget:after {
	display: block ;content: "."; clear: both; visibility: hidden;
	height: 0; }

.widget .header- {
	padding-bottom: 10px;
	font-size: 1.8em; font-weight: normal; }

.widget .header- a {
	border-color: #ccc; color: #000; }

.widget .navigation- {
	margin-bottom: 15px;
	font-size: 1.1em; }

.widget .navigation- li {
	list-style: none; }

.widget .navigation- li a {
	border-color: #ccc;
	color: #000; }


/* интерфейс по управлению виджетами */

.moderator-text { display: none; }

.moderator .moderator-text { display: block; }

.moderator .layout-standard {
	padding: 0 270px 50px; }

.moderator .layout-c-left {
	width: 234px; margin-left: -247px; }

.moderator .layout-c-right {
	width: 234px; margin-right: -247px; }

.moderator .layout-c-main {
	 }

.moderator .layout-c-main .contenthandler {
	padding: 20px 13px; border: none; }

.moderator .widget {
	margin-bottom: 33px; padding: 5px; border: 2px dashed #ccc; }

.moderator .widget-add {
	display: block; }

.moderator .wg-hover {
	border-color: #c00; }

.moderator .wg-hover .actionspanel- {
	display: block; }

.widget-add {
	display: none;
	margin: 3px 0 33px; border: 2px dashed #f99;
	font-size: 1.6em; text-align: center; line-height: 30px; color: #c00 !important; }

.widget .actionspanel- {
	float: right; display: none;
	height: 20px; margin: -27px -7px 0 0; cursor: move; }

.widget .actionspanel- li {
	float: left; position: relative; z-index: 20;
	height: 20px; margin: 0 0 0 10px; margin: 0 3px 0 10px;
	font-size: 1.3em; line-height: 20px;
	list-style: none; }

.widget .actionspanel- .edit- a {
	border-color: #43972f;
	color: #0c0; }

.widget .actionspanel- .delete- a {
	border-color: #f0b2b2;
	color: #c00; }

.wg-sortable { }

.wg-droppable-hover {}

.wg-droppable-active { }

.wg-droppable-help { background: #ff9; }


/* стили для попапов !! нужно отрефакторить и сделать для всех попапов в системе они стили */

.popup-widgets-bg {
	position: fixed; top: 0; left: 0; z-index: 29;
	width: 100%; height: 100%;
	opacity: .5; background: #000; }

.popup-widgets {
	position: fixed; top: 0; left: 50%; z-index: 30;
	width: 580px; margin: 50px 0 0 -290px; padding: 10px; border: 1px solid #dda;
	background: #444; }

.popup-widgets .title- {
	padding-bottom: 10px;
	font-weight: normal; font-size: 3em; line-height: 1; color: #fff; }

.popup-widgets .content- {
	padding: 20px 20px 5px;
	background: #fff; }

.popup-widgets .dirselect- {
	margin-right: 200px; }

.popup-widgets .dirselector- {
	float: right; overflow: auto;
	width: 180px; padding: 0 0 0 20px; }

.popup-widgets .dirselector- .header- {
	margin-bottom: 18px;
	font-size: 1.8em; color: #fff; }

.popup-widgets .dirselector- .list- li {
	margin: 0 0 7px 20px;
	font-size: 1.3em; color: #666;
	list-style: none; }

.popup-widgets .dirselector- .list- li input {
	float: left;
	margin: 2px 5px 0 0; }

.popup-widgets .dirselector- .list- li label {
	border-bottom: 1px dashed #999;
	color: #fff;
	cursor: pointer; }

.popup-widgets .dirselector- .list- .root- {
	margin-left: 0;
	font-weight: bold; }

.popup-widgets li {
	list-style: none; }

.popup-widgets .tabs- {
	height: 30px; }

.popup-widgets .tabs- li {
	float: left;
	margin-right: 10px; padding: 0 15px;
	font-size: 1.8em; line-height: 30px;
	background: #dda; }

.popup-widgets .tabs- li a {
	border-bottom: 1px dashed; }

.popup-widgets .tabs- .selected- {
	background: #fff; }

.popup-widgets .buttons- {
	height: 44px; }

.popup-widgets .buttons- .button- {
	border: none; margin: 9px 12px -3px -2px; }

.popup-widgets .fieldset- {
	padding: 0 0 15px 0; }

.popup-widgets .fieldset- .comment- {
	padding-top: 3px;
	font-size: 1.1em; color: #666; }

.popup-widgets .fieldset- label {
	display: block;
	margin-bottom: 3px;
	font-weight: bold; font-size: 1.6em; }

.popup-widgets .text-,
.popup-widgets .textarea- {
	padding-right: 12px; }

.popup-widgets .textarea- {
	padding-right: 6px; }

.popup-widgets .text- input {
	position: relative;
	width: 100%; margin-right: -20px; padding: 2px 5px; border: 1px solid #DDD;
	font-size: 1.3em; line-height: 1; }

.popup-widgets .textarea- textarea {
	position: relative;
	width: 100%; height: 50px; margin-right: -6px; padding: 3px; border: 1px solid #DDD;
	font-size: 1.3em; }

.popup-widgets .select- select {
	width: 100%;
	font-size: 1.3em; }

.popup-widgets .checkboxes- {}

.popup-widgets .checkboxes- .root- {
	float: right;
	color: #333;
	cursor: pointer; }

.popup-widgets .checkboxes- .root- input {
	position: relative; top: -3px;
	margin: 0 4px 0 0; }

.popup-widgets .checkboxes- .list- {
	overflow: auto;
	height: 80px; padding: 10px 0 0; border: 1px solid #ddd; }

.popup-widgets .checkboxes- .list- li {
	margin: 0 0 10px 10px;
	list-style: none; }

.popup-widgets .checkboxes- .list- li input {
	float: left;
	width: auto; margin: 2px 5px 0 0; }

.popup-widgets .checkboxes- .list- li label {
	display: inline;
	margin: 0; border-bottom: 1px dashed #999;
	font-weight: normal; font-size: 1.3em;
	cursor: pointer; }

.popup-widgets .checkboxes- .list- .root- {
	margin-left: 0;
	font-weight: bold; }


.popup-widgets .widgetlist- {
	overflow: hidden;
	width: 100%; }

.popup-widgets .widgetlist- li {
	float: left;
	width: 260px; height: 30px; margin: 0 0 10px; }

.popup-widgets .widgetlist- li a {
	display: block;
	padding: 0 10px; border: 2px solid #444;
	font-weight: bold; font-size: 1.6em; line-height: 30px; color: #444; }

/** linkbar **/

.popup-widgets .linkbar- {
	 }

.popup-widgets .linkbar- .bgg3- {
	height: 374px; padding: 10px; }

.popup-widgets .contentbar- .bgg3- {
	height: 345px; }

.popup-widgets .linkbar- .menu- {
	overflow: hidden;
	height: 344px; }

.popup-widgets .linkbar- .menu- .item- {
	padding: 5px 5px 5px 20px; }

.popup-widgets .linkbar- .menu- .item- .subtitle- {
	overflow: hidden;
	height: 21px; margin-left: -15px;
	font-weight: normal; font-size: 1.8em; }

.popup-widgets .linkbar- .menu- .item- .desc- {
	display: block;
	padding-left: 5px;
	font-weight: normal; font-size: 1.3em; color: #999; }

.popup-widgets .linkbar- .menu- .item- .link- {}

.popup-widgets .linkbar- .menu- .action- {
	float: right;
	margin: 0 0 0 5px; }

.popup-widgets .linkbar- .menu- .active- {
	padding: 0;
	font-weight: bold;
	cursor: move; background: #eee url({{!static type="images" "popup/section-selected-bg-tl.gif"}}) no-repeat 0 0; }

.popup-widgets .linkbar- .menu- .active- .bggg1- {
	display: block;
	background: url({{!static type="images" "popup/section-selected-bg-tr.gif"}}) no-repeat 100% 0; }

.popup-widgets .linkbar- .menu- .active- .bggg2- {
	display: block;
	background: url({{!static type="images" "popup/section-selected-bg-bl.gif"}}) no-repeat 0 100%; }

.popup-widgets .linkbar- .menu- .active- .bggg3- {
	display: block;
	background: url({{!static type="images" "popup/section-selected-bg-br.gif"}}) no-repeat 100% 100%; }

.popup-widgets .linkbar- .menu- .active- .bggg4- {
	display: block;
	padding: 5px 5px 5px 20px;
	background: url({{!static type="images" "popup/ico-move.gif"}}) no-repeat 5px 28px; }

.popup-widgets .linkbar- .menu- .item- .link- {
	border-bottom: 1px dashed;
	text-decoration: none; }

.popup-widgets .linkbar- .add- {
	position: relative;
	height: 36px; margin: 5px -20px -5px;
	text-align: center;
	background: #eee url({{!static type="images" "popup/action-bg-bl.gif"}}) no-repeat 0 100%; }

.popup-widgets .linkbar- .add- a {
	border-bottom: 1px dashed;
	line-height: 30px;
	font-weight: bold; font-size: 1.3em; text-decoration: none; color: #0c0; }


.wg-post {
	margin: -20px 0 40px; }

.wg-post .post- {
	position: relative; z-index: 1;
	margin: 0 -7px 10px -7px; }

.wg-post .help- {
	width: 229px; height: 66px; margin: 0 -5px 0 -4px;
	font-size: 13px;
	background: #fff url({{!static type="images" "help.png"}}) no-repeat 0 0; }

.wg-post .help- p {
	padding: 5px 10px 5px 50px; }

.wg-userupdate {}

.wg-userupdate .update- {
	width: 223px; height: 39px; }


/* IE Fixes */

.widget {
	_dispaly: inline-block; }

.moderator .layout-c-left {
	_width: 234px; _margin-left: -127px; }

.moderator .layout-c-right {
	_width: 234px; _margin-right: -127px; }

.moderator .layout-c-main { }

.moderator .layout-c-main .contenthandler {
	_padding-top: 23px; }

.moderator .layout-c-main .actionspanel- {
	_margin-right: 10px; }

.popup-widgets-bg {
	_position: absolute;
	_height: expression(document.body.clientHeight);
	//filter: alpha(opacity=50); }

.popup-widgets {
	_position: absolute; _top: expression( eval(document.documentElement.scrollTop) + "px" );
	_margin-top: 50px; }

.widget .actionspanel- {
	_position: absolute; _right: 0;
	_margin: -27px -7px 0 0; }

.popup-widgets .fieldset- input {
	_padding: 4px 5px 1px; }

.popup-widgets .checkboxes- .list- li input {
	//margin: -2px 1px -4px -4px; }

.popup-widgets .checkboxes- .root- input {
	//top: 0px;
	//margin: 0 2px 0 0; }